package com.hnichr.ump.common.assessment.service;

import com.hnichr.ump.common.assessment.entity.Invite;
import com.mxpioframework.jpa.query.Criteria;
import com.mxpioframework.system.service.BaseService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.io.OutputStream;
import java.util.List;

public interface InviteService extends BaseService<Invite> {
    List<Invite> list(Criteria c);

    Page<Invite> listPage(Pageable page, Criteria c);

    void download(String id, OutputStream out);
}
